package org.example.test;

public class TreeNode<Key,Value> {
    public TreeNode left;
    public TreeNode right;
    public Key key;
    public Value value;

    public TreeNode(Key key,Value value,TreeNode left,TreeNode right){
        this.key=key;
        this.value=value;
        this.left=left;
        this.right=right;
    }
}
